package cn.micro.keep.accounts.mapper;

import cn.micro.keep.accounts.entity.AccountOdsRecord;
import cn.micro.keep.accounts.entity.dto.AccountOdsRecordSearch;
import cn.micro.keep.accounts.entity.dto.PieChartSearch;
import cn.micro.keep.accounts.entity.vo.AccountOdsRecordInfoVO;
import cn.micro.keep.accounts.entity.vo.AccountOdsRecordVO;
import cn.micro.keep.accounts.entity.vo.PieChartVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 账单信息表 Mapper 接口
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-08
 */
public interface AccountOdsRecordMapper extends BaseMapper<AccountOdsRecord> {

    List<AccountOdsRecordVO> queryByUser(AccountOdsRecordSearch search);

    AccountOdsRecordInfoVO queryById(Long id);

    List<PieChartVO> queryPieChart(PieChartSearch search);
}
